package com.mingzhi.forum.model;

import lombok.Data;

import java.util.Date;
@Data
public class Article {
    private Long id;

    private Long boardId;

    private Long userId;

    //帖子标题
    private String title;

    //访问次数
    private Integer visitCount;

    //回复次数
    private Integer replyCount;

    //点赞次数
    private Integer likeCount;

    private Byte state;

    private Byte deleteState;

    private Date createTime;

    private Date updateTime;

    //帖子正文
    private String content;

    private User user;

    private Board board;

    //用户是不是作者
    private Boolean own;

}